<template>
  <el-dialog  v-dialogDrag   title="人员检测" :visible.sync="unitReportVisible" :before-close="handleClose" width="85%">
    <el-tabs class="dialog-Backgroundcolor">
      <el-table :data="list" :stripe="true" fit>
        <template slot="empty">
          <tableEmpty />
        </template>
        <el-table-column label="姓名" align="center">
          <template slot-scope="{row}">
            <span>{{ row.person_name }}</span>
          </template>
        </el-table-column>
        <el-table-column label="身份证号" align="center" width="180">
          <template slot-scope="{row}">
            <span>{{ row.iden_no }}</span>
          </template>
        </el-table-column>
        <el-table-column label="调出单位" align="center" width="400">
          <template slot-scope="{row}">
            <span>{{ row.agency }}</span>
          </template>
        </el-table-column>
        <el-table-column label="未调入单位" align="center" width="400">
          <template slot-scope="{row}">
            <span>{{ row.outtoagency }}</span>
          </template>
        </el-table-column>
      </el-table>
    </el-tabs>
  </el-dialog>
</template>
<script>
export default {
  components: {},
  filters: {
    isAutoSubmitFilter(state) {
      if (state === '0') {
        return '否'
      }
      if (state === '1') {
        return '是'
      }
      if (state === '2') {
        return '是（有变动）'
      }
    }
  },
  props: {
    list: {
      type: Array,
      default: () => {}
    }
  },
  data() {
    return {
      unitReportVisible: true
    }
  },
  computed: {},
  watch: {},
  mounted() {},
  created() {},
  methods: {
    handleClose() {
      this.$emit('close', 1)
    }
  }
}
</script>
